@import "mixin";

.slide-down-enter, .slide-down-leave-to {
    transform: translate3d(0, -100%, 0)
  }
  .slide-down-enter-to, .slide-down-leave, .slide-up-enter-to, .slide-up-leave {
    transform: translate3d(0, 0, 0)
  }
  .slide-down-enter-active, .slide-down-leave-active, .slide-up-enter-active,
  .slide-up-leave-active, .fade-enter-active, .fade-leave-active, .slide-right-enter-active,
  .slide-right-leave-active, .popup-slide-up-enter-active, .popup-slide-up-leave-active,
  .fade-slide-right-enter-active, .fade-slide-right-leave-active, .title-move-enter-active,
  .title-move-leave-active, .hot-search-move-enter-active, .hot-search-move-leave-active  {
    transition: all $animationTime linear;
  }
  .slide-up-enter, .slide-up-leave-to {
    transform: translate3d(0, px2rem(138), 0)//48+90    80+160=240
  }
  .fade-enter, .fade-leave-to {
    opacity: 0;
  }
  .fade-enter-to, .fade-leave {
    opacity: 1;
  }
  .slide-right-enter, .slide-right-leave-to {
    transform: translate3d(-100%, 0, 0);
  }
  // 初始位子
  .popup-slide-up-enter, .popup-slide-up-leave-to{
    // 移动到当前位子的100%
    transform: translate3d(0, 100%, 0);
    // 透明度为0
    opacity: 0;
  }
  .popup-slide-up-enter-to, .popup-slide-up-leave, .fade-slide-right-enter-to,
  .fade-slide-right-leave, .title-move-enter-to, .title-move-leave,
  .hot-search-move-enter-to, .hot-search-move-leave {
    transform: translate3d(0, 0, 0);
    // 透明度为0
    opacity: 1;
  }
  .fade-slide-right-enter, .fade-slide-right-leave-to{
    transform: translate3d(-100%, 0, 0);
    // 透明度为0
    opacity: 0;
  }

  .title-move-enter, .title-move-leave-to {
    transform: translate3d(0, px2rem(20), 0);// 10
    // 透明度为0
    opacity: 0;
  }

  .hot-search-move-enter, .hot-search-move-leave-to {
    transform: translate3d(0, px2rem(30), 0);
    opacity: 0;
  }
  
